# $Id: PKGBUILD 65887 2012-02-22 13:19:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-mail-sendmail
pkgver=0.79
pkgrel=5
pkgdesc="Perl/CPAN Module Mail::Sendmail : Simple platform independent mailer"
arch=("any")
url="http://search.cpan.org/~mivkovic/Mail-Sendmail/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/M/MI/MIVKOVIC/Mail-Sendmail-0.79.tar.gz")
md5sums=('038f261afd091d8fad347d6c66d2833d')

build() {
  cd $srcdir/Mail-Sendmail-0.79
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
